//C#

public class Stack<T> {
	private T[] items;
	private int count;
	public void Push(T item) { ... }
	public T Pop() { ... }
}

var stack = new Stack<String>();